#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2019/9/21 0021 19:11
# @Author  : GXl
# @File    : views.py
# @Software: win10 Tensorflow1.13.1 python3.7

import os
from flask import current_app,send_file
from . import main

from utils import logutils,dtutils

logger = logutils.getlogger(__file__)

@main.route('/', methods=['GET', 'POST'])
def index():
    logger.debug("****** 进入跟目录 *****")
    return "OK"

@main.route('/health', methods=['GET', 'POST'])
def health():
    logger.debug("****** 健康检查 *****")
    return "OK"
